package com.core.mvc.config;

public class DBConfig
{
	private String driver;
	private String url;
	private String user;
	private String passwd;
	private int initConnSize;
	private int incrementalConnSize;
	private int maxConnSize;
	
	public String getDriver()
	{
		return driver;
	}
	public void setDriver( String driver )
	{
		this.driver = driver;
	}
	public String getUrl()
	{
		return url;
	}
	public void setUrl( String url )
	{
		this.url = url;
	}
	public String getUser()
	{
		return user;
	}
	public void setUser( String user )
	{
		this.user = user;
	}
	public String getPasswd()
	{
		return passwd;
	}
	public void setPasswd( String passwd )
	{
		this.passwd = passwd;
	}
	
	public int getInitConnSize()
	{
		return initConnSize;
	}
	public void setInitConnSize( int initConnSize )
	{
		this.initConnSize = initConnSize;
	}
	public int getIncrementalConnSize()
	{
		return incrementalConnSize;
	}
	public void setIncrementalConnSize( int incrementalConnSize )
	{
		this.incrementalConnSize = incrementalConnSize;
	}
	public int getMaxConnSize()
	{
		return maxConnSize;
	}
	public void setMaxConnSize( int maxConnSize )
	{
		this.maxConnSize = maxConnSize;
	}
	
	@Override
	public String toString()
	{
		return "DBConfig [driver=" + driver + ", url=" + url + ", user=" + user + ", passwd="
						+ passwd + ", initConnSize=" + initConnSize + ", incrementalConnSize="
						+ incrementalConnSize + ", maxConnSize=" + maxConnSize + "]";
	}
	
}
